Optimal. Leaf size=131 \[ \frac {e \left (c d^2-a e^2\right )^3 x}{c^4 d^4}+\frac {\left (c d^2-a e^2\right )^2 (d+e x)^2}{2 c^3 d^3}+\frac {\left (c d^2-a e^2\right ) (d+e x)^3}{3 c^2 d^2}+\frac {(d+e x)^4}{4 c d}+\frac {\left (c d^2-a e^2\right )^4 \log (a e+c d x)}{c^5 d^5} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 131, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.057, Rules used = {640, 45}
\begin {gather*} \frac {\left (c d^2-a e^2\right )^4 \log (a e+c d x)}{c^5 d^5}+\frac {e x \left (c d^2-a e^2\right )^3}{c^4 d^4}+\frac {(d+e x)^2 \left (c d^2-a e^2\right )^2}{2 c^3 d^3}+\frac {(d+e x)^3 \left (c d^2-a e^2\right )}{3 c^2 d^2}+\frac {(d+e x)^4}{4 c d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 640
Rubi steps
\begin {align*} \int \frac {(d+e x)^5}{a d e+\left (c d^2+a e^2\right ) x+c d e x^2} \, dx &=\int \frac {(d+e x)^4}{a e+c d x} \, dx\\ &=\int \left (\frac {e \left (c d^2-a e^2\right )^3}{c^4 d^4}+\frac {\left (c d^2-a e^2\right )^4}{c^4 d^4 (a e+c d x)}+\frac {e \left (c d^2-a e^2\right )^2 (d+e x)}{c^3 d^3}+\frac {e \left (c d^2-a e^2\right ) (d+e x)^2}{c^2 d^2}+\frac {e (d+e x)^3}{c d}\right ) \, dx\\ &=\frac {e \left (c d^2-a e^2\right )^3 x}{c^4 d^4}+\frac {\left (c d^2-a e^2\right )^2 (d+e x)^2}{2 c^3 d^3}+\frac {\left (c d^2-a e^2\right ) (d+e x)^3}{3 c^2 d^2}+\frac {(d+e x)^4}{4 c d}+\frac {\left (c d^2-a e^2\right )^4 \log (a e+c d x)}{c^5 d^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 134, normalized size = 1.02 \begin {gather*} \frac {c d e x \left (-12 a^3 e^6+6 a^2 c d e^4 (8 d+e x)-4 a c^2 d^2 e^2 \left (18 d^2+6 d e x+e^2 x^2\right )+c^3 d^3 \left (48 d^3+36 d^2 e x+16 d e^2 x^2+3 e^3 x^3\right )\right )+12 \left (c d^2-a e^2\right )^4 \log (a e+c d x)}{12 c^5 d^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.75, size = 232, normalized size = 1.77
method | result | size |
norman | \(\frac {e^{4} x^{4}}{4 c d}+\frac {e^{2} \left (a^{2} e^{4}-4 a c \,d^{2} e^{2}+6 c^{2} d^{4}\right ) x^{2}}{2 c^{3} d^{3}}-\frac {e^{3} \left (e^{2} a -4 c \,d^{2}\right ) x^{3}}{3 c^{2} d^{2}}-\frac {e \left (e^{6} a^{3}-4 e^{4} d^{2} a^{2} c +6 d^{4} e^{2} c^{2} a -4 d^{6} c^{3}\right ) x}{c^{4} d^{4}}+\frac {\left (a^{4} e^{8}-4 a^{3} c \,d^{2} e^{6}+6 a^{2} c^{2} d^{4} e^{4}-4 a \,c^{3} d^{6} e^{2}+c^{4} d^{8}\right ) \ln \left (c d x +a e \right )}{c^{5} d^{5}}\) | \(201\) |
default | \(-\frac {e \left (-\frac {c^{3} d^{3} e^{3} x^{4}}{4}+\frac {\left (\left (e^{2} a -2 c \,d^{2}\right ) c^{2} d^{2} e^{2}-2 d^{4} e^{2} c^{3}\right ) x^{3}}{3}+\frac {\left (2 \left (e^{2} a -2 c \,d^{2}\right ) c^{2} d^{3} e -c d e \left (a^{2} e^{4}-2 a c \,d^{2} e^{2}+2 c^{2} d^{4}\right )\right ) x^{2}}{2}+\left (e^{2} a -2 c \,d^{2}\right ) \left (a^{2} e^{4}-2 a c \,d^{2} e^{2}+2 c^{2} d^{4}\right ) x \right )}{c^{4} d^{4}}+\frac {\left (a^{4} e^{8}-4 a^{3} c \,d^{2} e^{6}+6 a^{2} c^{2} d^{4} e^{4}-4 a \,c^{3} d^{6} e^{2}+c^{4} d^{8}\right ) \ln \left (c d x +a e \right )}{c^{5} d^{5}}\) | \(232\) |
risch | \(\frac {e^{4} x^{4}}{4 c d}-\frac {e^{5} a \,x^{3}}{3 c^{2} d^{2}}+\frac {4 e^{3} x^{3}}{3 c}-\frac {2 e^{4} a \,x^{2}}{c^{2} d}+\frac {3 e^{2} d \,x^{2}}{c}+\frac {e^{6} a^{2} x^{2}}{2 c^{3} d^{3}}-\frac {e^{7} a^{3} x}{c^{4} d^{4}}+\frac {4 e^{5} a^{2} x}{c^{3} d^{2}}-\frac {6 e^{3} a x}{c^{2}}+\frac {4 e \,d^{2} x}{c}+\frac {\ln \left (c d x +a e \right ) a^{4} e^{8}}{c^{5} d^{5}}-\frac {4 \ln \left (c d x +a e \right ) a^{3} e^{6}}{c^{4} d^{3}}+\frac {6 \ln \left (c d x +a e \right ) a^{2} e^{4}}{c^{3} d}-\frac {4 d \ln \left (c d x +a e \right ) a \,e^{2}}{c^{2}}+\frac {d^{3} \ln \left (c d x +a e \right )}{c}\) | \(239\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 194, normalized size = 1.48 \begin {gather*} \frac {3 \, c^{3} d^{3} x^{4} e^{4} + 4 \, {\left (4 \, c^{3} d^{4} e^{3} - a c^{2} d^{2} e^{5}\right )} x^{3} + 6 \, {\left (6 \, c^{3} d^{5} e^{2} - 4 \, a c^{2} d^{3} e^{4} + a^{2} c d e^{6}\right )} x^{2} + 12 \, {\left (4 \, c^{3} d^{6} e - 6 \, a c^{2} d^{4} e^{3} + 4 \, a^{2} c d^{2} e^{5} - a^{3} e^{7}\right )} x}{12 \, c^{4} d^{4}} + \frac {{\left (c^{4} d^{8} - 4 \, a c^{3} d^{6} e^{2} + 6 \, a^{2} c^{2} d^{4} e^{4} - 4 \, a^{3} c d^{2} e^{6} + a^{4} e^{8}\right )} \log \left (c d x + a e\right )}{c^{5} d^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.34, size = 201, normalized size = 1.53 \begin {gather*} \frac {36 \, c^{4} d^{6} x^{2} e^{2} + 48 \, c^{4} d^{7} x e + 6 \, a^{2} c^{2} d^{2} x^{2} e^{6} - 12 \, a^{3} c d x e^{7} - 4 \, {\left (a c^{3} d^{3} x^{3} - 12 \, a^{2} c^{2} d^{3} x\right )} e^{5} + 3 \, {\left (c^{4} d^{4} x^{4} - 8 \, a c^{3} d^{4} x^{2}\right )} e^{4} + 8 \, {\left (2 \, c^{4} d^{5} x^{3} - 9 \, a c^{3} d^{5} x\right )} e^{3} + 12 \, {\left (c^{4} d^{8} - 4 \, a c^{3} d^{6} e^{2} + 6 \, a^{2} c^{2} d^{4} e^{4} - 4 \, a^{3} c d^{2} e^{6} + a^{4} e^{8}\right )} \log \left (c d x + a e\right )}{12 \, c^{5} d^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.25, size = 153, normalized size = 1.17 \begin {gather*} x^{3} \left (- \frac {a e^{5}}{3 c^{2} d^{2}} + \frac {4 e^{3}}{3 c}\right ) + x^{2} \left (\frac {a^{2} e^{6}}{2 c^{3} d^{3}} - \frac {2 a e^{4}}{c^{2} d} + \frac {3 d e^{2}}{c}\right ) + x \left (- \frac {a^{3} e^{7}}{c^{4} d^{4}} + \frac {4 a^{2} e^{5}}{c^{3} d^{2}} - \frac {6 a e^{3}}{c^{2}} + \frac {4 d^{2} e}{c}\right ) + \frac {e^{4} x^{4}}{4 c d} + \frac {\left (a e^{2} - c d^{2}\right )^{4} \log {\left (a e + c d x \right )}}{c^{5} d^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.07, size = 199, normalized size = 1.52 \begin {gather*} \frac {3 \, c^{3} d^{3} x^{4} e^{4} + 16 \, c^{3} d^{4} x^{3} e^{3} + 36 \, c^{3} d^{5} x^{2} e^{2} + 48 \, c^{3} d^{6} x e - 4 \, a c^{2} d^{2} x^{3} e^{5} - 24 \, a c^{2} d^{3} x^{2} e^{4} - 72 \, a c^{2} d^{4} x e^{3} + 6 \, a^{2} c d x^{2} e^{6} + 48 \, a^{2} c d^{2} x e^{5} - 12 \, a^{3} x e^{7}}{12 \, c^{4} d^{4}} + \frac {{\left (c^{4} d^{8} - 4 \, a c^{3} d^{6} e^{2} + 6 \, a^{2} c^{2} d^{4} e^{4} - 4 \, a^{3} c d^{2} e^{6} + a^{4} e^{8}\right )} \log \left ({\left | c d x + a e \right |}\right )}{c^{5} d^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.59, size = 217, normalized size = 1.66 \begin {gather*} x^3\,\left (\frac {4\,e^3}{3\,c}-\frac {a\,e^5}{3\,c^2\,d^2}\right )+x\,\left (\frac {4\,d^2\,e}{c}-\frac {a\,e\,\left (\frac {6\,d\,e^2}{c}-\frac {a\,e\,\left (\frac {4\,e^3}{c}-\frac {a\,e^5}{c^2\,d^2}\right )}{c\,d}\right )}{c\,d}\right )+x^2\,\left (\frac {3\,d\,e^2}{c}-\frac {a\,e\,\left (\frac {4\,e^3}{c}-\frac {a\,e^5}{c^2\,d^2}\right )}{2\,c\,d}\right )+\frac {\ln \left (a\,e+c\,d\,x\right )\,\left (a^4\,e^8-4\,a^3\,c\,d^2\,e^6+6\,a^2\,c^2\,d^4\,e^4-4\,a\,c^3\,d^6\,e^2+c^4\,d^8\right )}{c^5\,d^5}+\frac {e^4\,x^4}{4\,c\,d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________